package com.easy.common.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author Easy
 * @since 2025-09-09
 */
@Getter
@Setter
@ToString
@TableName("order")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer userid;
    private BigDecimal payment;
    private LocalDateTime newtime;
    private LocalDateTime paymenttime;
    private LocalDateTime shipmenttime;
    private LocalDateTime receipttime;
    private LocalDateTime endtime;
    private String orderaddr;
    private String orderperson;
    private String ordertel;
    private LocalDateTime ordertime;
    private Integer status;

}
